﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.CJL.Infrstructre
{
    public interface IMESRepository<T> where T : class
    {
        Task<int> Addasync(T entity);
        Task<List<T>> GetAll();
        Task<int> UpdateAsync(T entity);
        Task<T> GetMondel(int id);
        Task<int> DeleteAsync(int id);
    }
}
